Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

config-master

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-master

Load stored configuration data

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
168K
increased by3.77%
Maintainers
1
Weekly downloads
 
Created
Source

view on npm npm module downloads Build Status Dependency Status js-standard-style

config-master

A convention for storing and retrieving application config. You supply a string (e.g. 'example-app'), the libary will walk up the directory tree merging config stored for this app. The following locations are searched, with the latter taking precedence:

  • Any package.json, beneath the example-app property.
  • Any .example-app.json files (or a custom filename you specify).

loadConfig(configName, [options]) ⇒ Object

Kind: Exported function

ParamTypeDescription
configNamestringconfig name
[options]objectoptions
[options.startFrom]stringdirectory to begin looking for config
[options.filename]stringconfig filename (defaults to .${configName}.json)

© 2014-17 Lloyd Brookes 75pound@gmail.com. Documented by jsdoc-to-markdown.

Keywords

FAQs

Package last updated on 17 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc